﻿namespace GSOrganization.Application;

/// <summary>
/// 菜单的创建和编辑对象
/// </summary>
public partial class SysMenuOutput
{
    [StringLength(36)]
    public string Id { get; set; }
    /// <summary>
    /// 名称
    /// </summary>
    [Required]
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string Title { get; set; }

    /// <summary>
    /// 菜单图标
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string Icon { get; set; }

    /// <summary>
    /// 链接
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string Href { get; set; }

    /// <summary>
    /// 链接打开方式
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string Target { get; set; }


    /// <summary>
    /// 序号
    /// </summary>
    public int Sort { get; set; }

    /// <summary>
    /// 是否菜单
    /// </summary>
    public bool Status { get; set; }
    /// <summary>
    /// 父节点
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(36)]
    public string ParentId { get; set; }
    public virtual SysMenu Parent { get; set; }

}



